package com.neu.doc;

import java.util.List;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
@ApiModel(value = "返回品牌商和类目列表",description = "返回品牌商和类目列表")
public class AdminGoodsController_catandbrand {
	@ApiModelProperty(value="品牌商和类目列表数据",dataType="CatAndBrandListData")
	private CatAndBrandListData data; 
	@ApiModelProperty(value="错误编码，成功是0",dataType="Integer")
	private Integer errno=0;
	@ApiModelProperty(value="错误信息描述",dataType="String")
	private String errmsg="成功";
	
	public Integer getErrno() {
		return errno;
	}
	public void setErrno(Integer errno) {
		this.errno = errno;
	}
	public String getErrmsg() {
		return errmsg;
	}
	public void setErrmsg(String errmsg) {
		this.errmsg = errmsg;
	}
	public CatAndBrandListData getData() {
		return data;
	}
	public void setData(CatAndBrandListData data) {
		this.data = data;
	}
	@ApiModel(value = "品牌商和类目列表数据",description = "品牌商和类目列表数据")
	public class CatAndBrandListData {
		@ApiModelProperty(value = "类目列表",dataType = "List<CatListItem>")
		List<CatListItem> categoryList;
		@ApiModelProperty(value = "品牌商列表",dataType = "List<BrandListItem>")
		List<BrandListItem> brandList;
		public List<CatListItem> getCategoryList() {
			return categoryList;
		}

		public void setCategoryList(List<CatListItem> categoryList) {
			this.categoryList = categoryList;
		}

		public List<BrandListItem> getBrandList() {
			return brandList;
		}

		public void setBrandList(List<BrandListItem> brandList) {
			this.brandList = brandList;
		}
	}
	@ApiModel(value = "类目列表项",description ="类目列表项")
	public class CatListItem{
		@ApiModelProperty(value = "类目id",dataType = "string")
		private String value;
		@ApiModelProperty(value = "类目名",dataType = "string")
		private String label;
		@ApiModelProperty(value = "子类目",dataType = "List<CatListItem>")
		private List<CatListItem> children;
		public String getValue() {
			return value;
		}
		public void setValue(String value) {
			this.value = value;
		}
		public String getLabel() {
			return label;
		}
		public void setLabel(String label) {
			this.label = label;
		}
		public List<CatListItem> getChildren() {
			return children;
		}
		public void setChildren(List<CatListItem> children) {
			this.children = children;
		}
	}
	@ApiModel(value = "品牌商列表项",description ="品牌商列表项")
	public class BrandListItem{
		@ApiModelProperty(value = "品牌商id",dataType = "string")
		private String value;
		@ApiModelProperty(value = "品牌商名",dataType = "string")
		private String label;
		public String getValue() {
			return value;
		}
		public void setValue(String value) {
			this.value = value;
		}
		public String getLabel() {
			return label;
		}
		public void setLabel(String label) {
			this.label = label;
		}
	}
}
